package com.iris.live.services.data.repositories;

import com.iris.live.services.data.models.销售财务账目单号Model;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import java.util.Date;

public interface 销售财务账目单号Repository extends JpaRepository<销售财务账目单号Model,Integer>,JpaSpecificationExecutor<销售财务账目单号Model>{
    @Query("select a from 销售财务账目单号Model a where a.单号类型 = ?1")
    销售财务账目单号Model selectByType(String type);
}